

package com.maoshi.shop.common.config;

import com.maoshi.shop.common.bean.ALiDaYu;
import com.maoshi.shop.common.bean.Qiniu;
import com.maoshi.shop.common.bean.QuickBird;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;


/**
 * 商城配置文件
 * @author lgh
 */
@Data
@Component
@PropertySource(value = "classpath:shop.properties",encoding = "UTF-8")
@ConfigurationProperties(prefix = "shop")
public class ShopBasicConfig {

	/**
	 * 七牛云的配置信息
	 */
	private Qiniu qiniu;

	/**
	 * 阿里大于短信平台
	 */
	private ALiDaYu aLiDaYu;

	/**
	 * 快递鸟物流详情查询
	 */
	private QuickBird quickBird;


}
